/*
 * PrincipalView 
 * 
 * Versao 1.0
 * 
 * 25/05/2013
 * 
 * Autor: Bhetynna Catalunha
 * 
 */
package edu.Ufes.exeSwing.View;

/**
 *
 * @author bhetynnacatalunha
 */
public class PrincipalView extends javax.swing.JFrame {

    /**
     * Creates new form PrincipalView
     */
    public PrincipalView() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenu2 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        jLabel1 = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        mnuOpcoes = new javax.swing.JMenu();
        mnuAgencias = new javax.swing.JMenuItem();
        mnuGerentes = new javax.swing.JMenuItem();
        mnuDiretores = new javax.swing.JMenuItem();
        mnuClientes = new javax.swing.JMenu();
        mnuPessoasFisicas = new javax.swing.JMenuItem();
        mnuPessoasJuridicas = new javax.swing.JMenuItem();
        mnuDefinir = new javax.swing.JMenu();
        mnuDefinirRegionais = new javax.swing.JMenuItem();
        jMenu1 = new javax.swing.JMenu();
        mnuContas = new javax.swing.JMenuItem();

        jMenu2.setText("jMenu2");

        jMenuItem1.setText("jMenuItem1");

        jMenuItem2.setText("jMenuItem2");

        jMenuItem3.setText("jMenuItem3");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Sistema Bancário");

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/edu/Ufes/exeSwing/Imagem/imgBanco.jpg"))); // NOI18N

        mnuOpcoes.setText("Manter");

        mnuAgencias.setText("Agencias");
        mnuAgencias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnuAgenciasActionPerformed(evt);
            }
        });
        mnuOpcoes.add(mnuAgencias);

        mnuGerentes.setText("Gerentes");
        mnuGerentes.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnuGerentesActionPerformed(evt);
            }
        });
        mnuOpcoes.add(mnuGerentes);

        mnuDiretores.setText("Diretores");
        mnuDiretores.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnuDiretoresActionPerformed(evt);
            }
        });
        mnuOpcoes.add(mnuDiretores);

        mnuClientes.setText("Clientes");

        mnuPessoasFisicas.setText("Pessoas Físicas");
        mnuPessoasFisicas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                mnuPessoasFisicasActionPerformed(evt);
            }
        });
        mnuClientes.add(mnuPessoasFisicas);

        mnuPessoasJuridicas.setText("Pessoas Jurídicas");
        mnuClientes.add(mnuPessoasJuridicas);

        mnuOpcoes.add(mnuClientes);

        jMenuBar1.add(mnuOpcoes);

        mnuDefinir.setText("Definir");

        mnuDefinirRegionais.setText("Definir Regionais");
        mnuDefinir.add(mnuDefinirRegionais);

        jMenuBar1.add(mnuDefinir);

        jMenu1.setText("Consultar");

        mnuContas.setText("Contas");
        jMenu1.add(mnuContas);

        jMenuBar1.add(jMenu1);

        setJMenuBar(jMenuBar1);

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void mnuGerentesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuGerentesActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnuGerentesActionPerformed

    private void mnuDiretoresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuDiretoresActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnuDiretoresActionPerformed

    private void mnuAgenciasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuAgenciasActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnuAgenciasActionPerformed

    private void mnuPessoasFisicasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuPessoasFisicasActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_mnuPessoasFisicasActionPerformed

  
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem mnuAgencias;
    private javax.swing.JMenu mnuClientes;
    private javax.swing.JMenuItem mnuContas;
    private javax.swing.JMenu mnuDefinir;
    private javax.swing.JMenuItem mnuDefinirRegionais;
    private javax.swing.JMenuItem mnuDiretores;
    private javax.swing.JMenuItem mnuGerentes;
    private javax.swing.JMenu mnuOpcoes;
    private javax.swing.JMenuItem mnuPessoasFisicas;
    private javax.swing.JMenuItem mnuPessoasJuridicas;
    // End of variables declaration//GEN-END:variables

    /**
     * @return the mnuOpcoes
     */
    public javax.swing.JMenu getMnuOpcoes() {
        return mnuOpcoes;
    }

    /**
     * @return the mnuAgencias
     */
    public javax.swing.JMenuItem getMnuAgencias() {
        return mnuAgencias;
    }

    /**
     * @return the mnuDiretores
     */
    public javax.swing.JMenuItem getMnuDiretores() {
        return mnuDiretores;
    }

    /**
     * @return the mnuGerentes
     */
    public javax.swing.JMenuItem getMnuGerentes() {
        return mnuGerentes;
    }

    /**
     * @return the mnuClientes
     */
    public javax.swing.JMenuItem getMnuClientes() {
        return mnuClientes;
    }

    /**
     * @return the mnuPessoasFisicas
     */
    public javax.swing.JMenuItem getMnuPessoasFisicas() {
        return mnuPessoasFisicas;
    }

    /**
     * @return the mnuPessoasJuridicas
     */
    public javax.swing.JMenuItem getMnuPessoasJuridicas() {
        return mnuPessoasJuridicas;
    }

    /**
     * @return the mnuDefinirRegionais
     */
    public javax.swing.JMenuItem getMnuDefinirRegionais() {
        return mnuDefinirRegionais;
    }

    /**
     * @return the mnuContas
     */
    public javax.swing.JMenuItem getMnuContas() {
        return mnuContas;
    }
}
